GrapeCity.CalcEngine.Functions Namespace > CalcWeekNumFunction Class > Evaluate Method : Evaluate(Object[]) Method |
The args contains 1 - 2 items: serial_num, [return_type].
Serial_num is a date within the week.
[Return_type] is a number that determines on which day the week begins. 1 means Week begins on Sunday, 2 means Week begins on Monday. The default value is 1.
'Usage Dim instance As CalcWeekNumFunction Dim args() As Object Dim value As Object value = instance.Evaluate(args)
The args contains 1 - 2 items: serial_num, [return_type].
Serial_num is a date within the week.
[Return_type] is a number that determines on which day the week begins. 1 means Week begins on Sunday, 2 means Week begins on Monday. The default value is 1.
Target Platforms: Windows Server 2012, Windows RT